some_numbers <- c(30, 50, 60)Lecture 3: A Brief Introduction to Data and Data Processing
2024-03-10
Recap
Warm-up
sum(some_numbers[c(2,3)]) == 80some_numbers[some_numbers %in% c(30)] == 30some_numbers * 5 will do 30*5 + 50*5 + 60*5Which of the answers are correct?
Which of the answers are correct?
In this code:
we actually don’t need to create an empty vector m. We just need to save the output of the loop as an object, i.e.:
What is total_sum?
Data Processing
Microprocessors can only represent two signs (states):
01